package com.youngjun.user.pojo.dto;

import com.youngjun.common.pojo.dto.support.BaseDTO;

public class FunctionDTO extends BaseDTO<FunctionDTO> {

    private Long id;

    //功能名称
    private String name;

    //功能地址
    private String path;

    //功能类型
    private String type;

    //功能图标
    private String icon;

    //上级功能
    private Long parentId;

    public Long getId() {
        return id;
    }

    public FunctionDTO setId(Long id) {
        this.id = id;
        return this;
    }

    public String getName() {
        return name;
    }

    public FunctionDTO setName(String name) {
        this.name = name;
        return this;
    }

    public String getPath() {
        return path;
    }

    public FunctionDTO setPath(String path) {
        this.path = path;
        return this;
    }

    public String getType() {
        return type;
    }

    public FunctionDTO setType(String type) {
        this.type = type;
        return this;
    }

    public String getIcon() {
        return icon;
    }

    public FunctionDTO setIcon(String icon) {
        this.icon = icon;
        return this;
    }

    public Long getParentId() {
        return parentId;
    }

    public FunctionDTO setParentId(Long parentId) {
        this.parentId = parentId;
        return this;
    }

}